import request from '@/utils/request'

// 上传图片
export const fileUpload = function (data) {
  return request({
    url: '/up_load_api/attach/upload',
    method: 'post',
    data,
    headers: {
      'content-type': 'multipart/form-data'
    }
  })
}

